// 跨域代理前缀
const API_PROXY_PREFIX='/api'
const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
// const BASE_URL = process.env.VUE_APP_API_BASE_URL
module.exports = {
  LOGIN: `${BASE_URL}/login`,
  VERIFY: `${BASE_URL}/getVerifyCode`,
  ROUTES: `${BASE_URL}/menus`,
  ROLE: `${BASE_URL}/role`,
  USER: `${BASE_URL}/user`,
  GROUPS: `${BASE_URL}/groups`,
  COLLEGE: `${BASE_URL}/college`,
  MAJOR: `${BASE_URL}/major`,
  GRADE: `${BASE_URL}/grade`,
  SEMESTER: `${BASE_URL}/semester`,
  CLASS: `${BASE_URL}/class`,
  COURSE_TYPE: `${BASE_URL}/course-type`,
  COURSE: `${BASE_URL}/course`,
  PROGRAM: `${BASE_URL}/program`,
  PLAN: `${BASE_URL}/plan`,
  TASK: `${BASE_URL}/task`,
  TASK_FINAL: `${BASE_URL}/task-final`,
  WORKLOAD: `${BASE_URL}/workload`,
}
